<script type="text/javascript">
    {literal}   
    $(document).ready(function () {
        $('select#labAssignmentTicketList').bind('change', function() {
        	$('#statusMessage').html('');
            var selectedlabAssignmentTicketId = $(this).val();
            if (selectedlabAssignmentTicketId != null && $.trim(selectedlabAssignmentTicketId) != '') {
            	{/literal}   
            		renderLabTicketSelector4View(selectedlabAssignmentTicketId, 0);
            	{literal}                   
            }
            
        });

        var selectedlabAssignmentTicketId = $('select#labAssignmentTicketList').val();
        if (selectedlabAssignmentTicketId != null && $.trim(selectedlabAssignmentTicketId) != '') {
            {/literal}   
                renderLabTicketSelector4View(selectedlabAssignmentTicketId, 0);
            {literal}                   
        }        
    });
    {/literal}
</script>
<select style="width: 100%; margin-bottom: 5px;" id="labAssignmentTicketList" >  
{html_options options=$labAssignmentTicketList selected=$selectedlabAssignmentTicketId} 
</select>
<div id="labTicketListSelect">
	<select style="width: 100%;" size="10"  id="labTicketList" >        
	</select>
</div>

